package br.brpv.silvestrin.vendas.domain;

/**
 * Created with IntelliJ IDEA.
 * User: paulo
 * Date: 5/21/12
 * Time: 8:17 PM
 * To change this template use File | Settings | File Templates.
 */
public class PriceTable implements OrderParam {
    String id;
    String cod;
    String description;

    public PriceTable(String id, String cod, String description) {
        this.id = id;
        this.cod = cod;
        this.description = description;
    }

    @Override
    public String toString() {
        return description;
    }

    @Override
    public String getText() {
        return description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCod() {
        return cod;
    }

    public void setCod(String cod) {
        this.cod = cod;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
